package com.boot.study.stream;

import com.boot.study.message.AbstractRedisMessage;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * @Author: lkz
 * @Title: AbstractStreamMessage
 * @Description: Redis Stream Message 抽象类
 * @Date: 2023/11/2 11:01
 */

public abstract class AbstractStreamMessage extends AbstractRedisMessage {

    /**
     * 获得 Redis Stream Key
     *
     * @return Channel
     */
    @JsonIgnore // 避免序列化
    public abstract String getStreamKey();


}
